package sumpayTest6;

public class Node {
	Integer data;
	Node left,right,up,down;
	int position;
	public static Integer min=Integer.MIN_VALUE;
	public static Integer max=Integer.MAX_VALUE;
	public Node(Integer data){
		this.data=data;
		left=right=up=down=null;
	}
	public Integer getData() {
		return data;
	}
	public void setData(Integer data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "Node [data=" + data + ", position=" + position + "]";
	}
}
